package com.lanou3g.dllo.baidumusic.musiclibrary.radio.radiodetail;

import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentStatePagerAdapter;


/**
 * Created by dllo on 16/7/2.
 */
public class EachRadioDetailAdapter extends FragmentStatePagerAdapter {

    public EachRadioDetailAdapter(FragmentManager fm) {
        super(fm);
    }

    @Override
    public Fragment getItem(int position) {
        EachRadioFragment fragment = new EachRadioFragment();
        return fragment;
    }

    @Override
    public int getCount() {
        return Integer.MAX_VALUE;
    }
}
